package com.ziyueyuwen.xiniao.service;

import com.ziyueyuwen.xiniao.bean.homework.ZySubjectDO;

import java.util.List;

/**
 * @author jun 2018/12/20.
 */
public interface SubjectService {
    /**
     * 添加数据
     *
     * @param zySubject ZySubjectDO
     * @return Boolean
     */
    Boolean add(ZySubjectDO zySubject);

    /**
     * 获取所有套题信息
     *
     * @return List<ZySubjectDO>
     */
    List<ZySubjectDO> listAll();
}
